Security News
vlt Debuts New JavaScript Package Manager and Serverless Registry at NodeConf EU
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
has-property-descriptors
Advanced tools
Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.
Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.
var hasPropertyDescriptors = require('has-property-descriptors');
var assert = require('assert');
assert.equal(hasPropertyDescriptors(), true); // will be `false` in IE 6-8, and ES5 engines
// Arrays can not have their length `[[Defined]]` in some engines
assert.equal(hasPropertyDescriptors.hasArrayLengthDefineBug(), false); // will be `true` in Firefox 4-22, and node v0.6
Simply clone the repo, npm install
, and run npm test
FAQs
Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.
The npm package has-property-descriptors receives a total of 39,017,021 weekly downloads. As such, has-property-descriptors popularity was classified as popular.
We found that has-property-descriptors demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
Security News
Research
The Socket Research Team uncovered a malicious Python package typosquatting the popular 'fabric' SSH library, silently exfiltrating AWS credentials from unsuspecting developers.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.